package com.example.LibrarySystem.service.impl;

import com.example.LibrarySystem.mapper.PressesMapper;
import com.example.LibrarySystem.pojo.Preeses;
import com.example.LibrarySystem.service.PreesesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PreesesServiceImpl implements PreesesService {
    @Autowired
    private PressesMapper preesesMapper;

    @Override
    public List<Preeses> likeByName(String name) {
        return preesesMapper.likeByName(name);
    }
}
